.tw-header {
  width: 100%;
  height: 100px;
  padding: 25px 0;
  background: #fff;
  white-space: nowrap;
}

.tw-header.xfixed {
  z-index: 6001;
}

.tw-header-inner {
  display: flex;
  align-items: center;
  width: 1200px;
  height: 50px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .tw-header-inner {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .tw-header-inner {
    width: 1000px;
  }
}

.tw-header-left {
  margin-right: 40px;
}

.tw-header-logo {
  height: 50px;
}

.tw-header-title {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
}

.tw-header-nav {
  position: relative;
  display: flex;
  flex: 1;
}

.tw-header-nav > li {
  position: relative;
}

.tw-header-nav > li.xparent {
  padding-right: 15px;
}

.tw-header-nav > li > a {
  display: block;
  line-height: 30px;
  font-size: 16px;
  border-bottom: 2px solid transparent;
}

.tw-header-nav > li + li {
  margin-left: 30px;
}

.tw-header-nav > li:hover > a,
.tw-header-nav > li:hover > .tw-triangle.xdown {
  color: #0d76f5;
}

.tw-header-nav > li.xactive > a,
.tw-header-nav > li > a.xactive
.tw-header-nav > li > a {
  color: #0d76f5;
  border-bottom-color: #0d76f5;
}

.tw-header-nav > li > .tw-triangle.xdown {
  position: absolute;
  top: 50%;
  right: 0;
  display: none;
  margin-top: -3px;
}

.tw-header-nav > li.xparent > .tw-triangle.xdown {
  display: block;
}

.tw-header-menus > li {
  position: relative;
  white-space: nowrap;
}

.tw-header-menus > li > a {
  display: block;
  padding: 10px;
  color: #666;
  white-space: nowrap;

  &:hover {
    color: #fff;
    background: #0d76f5;
  }
}

.tw-poppane.xheadernav {
  border-radius: 0;
  box-shadow: 0 3px 6px #ccc;
}

.tw-header-menus  > li.xparent > a {
  padding-right: 20px;
}

.tw-poppane.xheadernav .tw-triangle.xright {
  position: absolute;
  top: 50%;
  right: 2px;
  margin-top: -5px;
}

.tw-header-menus  > li:hover .tw-triangle.xright {
  color: #fff;
}

.tw-header-right {
  position: relative;
  display: flex;
  align-items: center;
}

.tw-header-right .tw-header-otherlink {
  position: absolute;
  bottom: -24px;
  right: 8px;
}

.tw-header-notice {
  position: relative;
  vertical-align: middle;  
}

.tw-header-notice > .iconfont {
  font-size: 30px;
}

.tw-header-notice > i {
  position: absolute;
  top: 0;
  left: 20px;
  height: 16px;
  line-height: 15px;
  padding: 0 5px;
  font-size: 12px;
  font-style: normal;
  color: #fff;
  background: #f43c37;
  border-radius: 8px;
  white-space: nowrap;
}

.tw-header-user .tw-header-notice > i {
  top: -10px;
  right: -5px;
  left: auto;
  transform: scale(.85);
}

.tw-header-user {
  padding: 10px 20px;
}

.tw-header-user > .tw-triangle.xdown {
  position: relative;
  left: 5px;
  top: 4px;
}

.tw-header-username {
  display: inline-block;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.tw-header-user-avatar {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  border-radius: 50%;
}

.tw-header-logoff {
  display: inline-block;
  font-size: 22px;
  vertical-align: middle;
}

.tw-header-right .iconfont {
  color: #a8b0b3;

  &:hover {
    color: #0d76f5;
  }
}

.tw-header-loginbtn {
  display: inline-block;
  width: 80px;
  font-size: 16px;
  color: #fff;
  background: #0084f7;
  line-height: 36px;
  text-align: center;
  border-radius: 5px;

  &:hover {
    background: #0472d2;
  }
}

.tw-libnavs-search {
  width: 200px;
  height: 30px;
  margin: 0 20px;
  border: 1px solid #bcc1c5;
}

.tw-libnavs-search > input {
  height: 100%;
  width: 100%;
  padding-left: 5px;
  padding-right: 30px;
  background: transparent;
  border: none;
}

.tw-libnavs-search-btn {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 10px;
  cursor: pointer;
}

.tw-libnavs-search-btn .iconfont {
  font-size: 22px;
  color: #95a0b4;
}

.tw-libnavs-search-btn:hover .iconfont {
  color: #0d76f5 !important;
}
